package io.geekidea.boot.materials.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.geekidea.boot.common.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

@Getter
@Setter
@NoArgsConstructor
@ToString(callSuper = true)
public class MaterialsExcel implements Serializable {
    private static final long serialVersionUID = 1l;

    @Schema(description = "物料单号")
    @TableField("numbers")
    @ExcelProperty("物料单号")
    private String numbers;

    @Schema(description = "物料名称")
    @TableField("name")
    @ExcelProperty("物料名称")
    private String name;

    @Schema(description = "物料编码")
    @TableField("code")
    @ExcelProperty("物料编码")
    private String code;

    @Schema(description = "物料税号")
    @TableField("taxsh")
    @ExcelProperty("物料税号")
    private String taxsh;

    @Schema(description = "战区id")
    @TableField("areaId")
    @ExcelProperty("战区名称")
    private String areaName;

    @Schema(description = "门店id")
    @TableField("storesId")
    @ExcelProperty("门店名称")
    private String storesName;

    @Schema(description = "门店编码")
    @TableField("storeCode")
    @ExcelProperty("门店编码")
    private String storesCode;

    @Schema(description = "供应商id")
    @TableField("supplierId")
    @ExcelProperty("供应商")
    private String supplierName;

    @Schema(description = "供应商编码")
    @TableField("supplierCode")
    @ExcelProperty("供应商编码")
    private String supplierCode;

    @Schema(description = "成本价")
    @TableField("costprice")
    @ExcelProperty("成本价")
    private Double costprice;

    @Schema(description = "物料仓库")
    @TableField("warehouseName")
    @ExcelProperty("物料仓库")
    private String warehouseName;

    @Schema(description = "总库存")
    @TableField("total_stock")
    @ExcelProperty("总库存")
    private int totalStock;

//    @Schema(description = "物料来源")
//    @TableField("warehouseName")
//    @ExcelProperty("物料来源")
//    private String materialsource;
//




}
